package com.ruoyi.cpsp.service;

import com.ruoyi.cpsp.domain.RegulationDetail;
import com.ruoyi.cpsp.domain.RegulationDetailAndTimes;

import java.util.List;

/**
 * 考评规则相关
 */
public interface RegulationDetailAndTimesService {

    public int submitForm(RegulationDetailAndTimes record) throws Exception;

    public int delete(Integer id) throws Exception;

    public int update(RegulationDetailAndTimes record) throws Exception;

    public List<RegulationDetailAndTimes> getTypeAndDetail(RegulationDetail record);

    public int maxTimesByDetailId(Integer regulationDetailId);
}
